home *** CD-ROM | disk | FTP | other *** search
- if(_root.crashed ne "yes")
- {
- var xs = _root.chopper.chopper_speed_x / 2.3 + _root.background_speed;
- if(_root.chopper.chopper_speed_x > 0)
- {
- if(_root.base._x > - _root.background_limit)
- {
- _root.left = "no";
- _X = _X - xs;
- _root.weather._x -= xs;
- setProperty("_root.base", _X, _X * 1.5);
- }
- else
- {
- _root.right = "yes";
- }
- }
- else if(_root.base._x < 0)
- {
- _root.right = "no";
- _X = _X - xs;
- _root.weather._x -= xs;
- setProperty("_root.base", _X, _X * 1.5);
- }
- else
- {
- _root.left = "yes";
- }
- if(getProperty("_root.base", _X) > 0)
- {
- setProperty("_root.base", _X, 0);
- }
- setProperty("_root.console.map.map", _X, (- _X) * 0.2);
- var x = _root.chopper._x - 20;
- var mx = 66 * (x / 500);
- var y = _root.chopper._y - 96;
- var my = 72 * (y / 466);
- setProperty("_root.console.map.map.chop", _X, mx);
- setProperty("_root.console.map.map.chop", _Y, my);
- }
-